package cn.sirun.com.fca.personal.center.view;

import com.tencent.cloud.iov.action.Action;
import com.tencent.cloud.iov.kernel.model.BaseResponse;

import java.util.List;

import cn.sirun.com.fca.personal.center.constant.PersonalCenterActionConst;
import cn.sirun.com.fca.personal.center.model.response.CityResponse;
import cn.sirun.com.fca.personal.center.model.response.DistributorResponse;

public interface ISettingDistributorView extends PersonalCenterActionConst {
    @Action(ACTION_GET_ALL_CITY_RESPONSE)
    void onGetAllCityResult(BaseResponse<List<CityResponse>> cityResponse);

    @Action(ACTION_GET_ALL_DISTRIBUTOR_RESPONSE)
    void onGetAllDistributorResult(BaseResponse<List<DistributorResponse>> distributorResponse);

    @Action(ACTION_EIDT_DISTRIBUTOR_RESPONSE)
    void onEditDistributorResult(BaseResponse<Void> distributorResponse);
}
